package com.forum.module.system.controller.admin.file.vo;

import com.forum.framework.common.pojo.PageParams;
import io.swagger.v3.oas.annotations.media.Schema;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.forum.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 功能:
 * 作者:ouyzh
 * 日期:2025/3/18 21:03
 */
@Schema(description = "管理后台 - 文件分页 请求视图")
public class FilePageReqVO extends PageParams {
    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    public LocalDateTime[] getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime[] createTime) {
        this.createTime = createTime;
    }
}
